<?php
/**
 * <https://y.st./>
 * Copyright © 2015 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Of onions and instant messaging',
	'<{body}>' => <<<END
<p>
	I finally backed up my $a[GnuPG] keys, both public and private.
	I think that all of my encryption keys of all types are backed up now.
</p>
<p>
	I have added lines to the dictionary file that I use with eschalot to makes sure that any onion key that has three instances of the string &quot;yst&quot; in the first ten characters will be preserved.
	The chances of actually getting a match are slim, but it would be a shame to lose such a key just because I didn&apos;t include these strings in my dictionary file.
	I would love to be able to capture any key that has three instances of the string &quot;yst&quot; <strong>*anywhere*</strong> in the onion address, but I don&apos;t know a feasible way to do that while using word list mode.
	A hybrid option would be nice, something that checked each key against both the word list and a regular expression, preserving the key upon getting a match on either.
	I have tried converting the word list into a regular expression, which would do the job, but the regular expression output is too large for eschalot to handle.
	I tried cutting out words that I now know that eschalot would ignore anyway, but the regular expression is still too long to make use of.
</p>
<p>
	I tried to set up $a[XMPP] service, but did not get too far.
	<a href="https://hosted.im/">Hosted.IM</a> offers gratis $a[XMPP] hosting at your own domain, but predictably asks users to set up <code>SRV</code> records.
	It actually checks to see that <code>SRV</code> records are in place too, so I cannot just use <code>A</code> records instead.
	The <a href="http://www.nic.st/"><code>//st.</code> registry</a> does not offer <code>SRV</code> records, so I would need to seek $a[DNS] services elsewhere to use <code>SRV</code> records, but the only two places that I know of that do not cost also do not offer wildcard $a[DNS] records.
	I could seek a paid option, but my budget is limited.
	I also tried using <code>CNAME</code> records to point to corresponding records attached to a domain that Hosted.IM uses for people that do not have their own domain, but they use different servers for that domain, so the <code>SRV</code> record check fails.
	And of course, that assumes that the <code>SRV</code> record checker even understands and accepts <code>CNAME</code> records at all, something that I cannot check at the moment.
	I will probably write to the <code>//st.</code> registry later and see if they are willing to help.
	If they add SRV record support, it would potentially be very useful for other things in the future as well, and realistically, the worst they would do is either tell me &quot;no&quot; or avoid responding.
</p>
<p>
	I have talked Vanessa and Cyrus into installing TorChat.
	I am in the process of generating a custom onion address for Vanessa so her chat handle will be more recognizable while Cyrus decides what kind of chat handle he wants to use.
</p>
<p>
	My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
</p>
END
);
